package ai.zixing.vistor01;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDate;

/**
 * 抽象商品父类
 */
@Data
@AllArgsConstructor
public abstract class Product {

    //商品名
    private String name;

    // 生产日期
    private LocalDate productData;

    // 价格
    private double price;
}
